#include<stdio.h>
#include<conio.h>
#include<math.h>
#include<string.h>
int main()
{
	int tram,chuc,dv,n;
	tram = n/100;
	dv = n%10;
	chuc=(n-100*tram)/10;
	char chuoi[100];
	switch(tram){
		case 1: chuoi += " Mot tram"; break;
		case 2: chuoi +=" Hai tram"; break;
		case 3: chuoi +=" Ba tram"; break;
		case 4: chuoi +=" Bon tram"; break;
		case 5: chuoi +=" Nam tram"; break;
		case 6: chuoi+=" Sau tram"; break;
		case 7: chuoi+=" Bay tram"; break;
		case 8: chuoi+=" Tam tram"; break;
		case 9: chuoi+=" Chin tram"; break;
	}
	switch(chuc){
		case 0: chuoi+=" le"; break;
		case 1: chuoi+=" muoi"; break;
		case 2: chuoi+=" hai muoi"; break;
		case 3: chuoi+=" ba muoi"; break;
		case 4: chuoi+=" bon muoi"; break;
		case 5: chuoi+=" nam muoi"; break;
		case 6: chuoi+=" sau muoi"; break;
		case 7: chuoi+=" bay muoi"; break;
		case 8: chuoi+=" tam muoi"; break;
		case 9: chuoi+=" chin muoi"; break;
	}
	switch(dv){
		case 0: chuoi-=" le"; break;
		case 1: chuoi+=" mot"; break;
		case 2: chuoi+=" hai"; break;
		case 3: chuoi+=" ba"; break;
		case 4: chuoi+=" bon"; break;
		case 5: chuoi+=" nam"; break;
		case 6: chuoi+=" sau"; break;
		case 7: chuoi+=" bay"; break;
		case 8: chuoi+=" tam"; break;
		case 9: chuoi+=" chin"; break;
	}
	printf("%s",chuoi);
}
